Server Watch Plugin SDK Date: 6 Feb 2004
Release: 1.0
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

swplugindllex.h

Go to the documentation of this file.
00001 /* 00002 swplugindllex.h 00003 Copyright (c) 2000-2004, Deep Fried Software. All rights reserved. 00004 */ 00005 00006 #ifndef _SWPLUGINDLL_H 00007 #define _SWPLUGINDLL_H 00008 00009 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00010 00011 extern HINSTANCE g_hDll; 00012 extern void OnProcessAttached(HINSTANCE g_hDll); 00013 extern void OnProcessDetached(); 00014 extern HWND GetParentHWND(); 00015 00016 #endif //DOXYGEN_SHOULD_SKIP_THIS 00017 00018 struct SWPluginServerStruct; 00019 class ISWPluginMenu; 00020 00040 SWRESULT LoadPlugin(); 00044 SWRESULT UnloadPlugin(); 00046 00056 00061 enum FunctionalSwitch 00062 { 00063 PING = 0, 00064 MENUS 00065 }; 00066 00070 bool DoYouSupport(const FunctionalSwitch eType); 00071 00083 bool DoYouExtend(const SWHandle* pluginHandle); 00085 00093 SWRESULT InitServer(SWPluginServerStruct* pThisServer); 00097 SWRESULT CleanupServer(SWPluginServerStruct* pThisServer); 00099 00107 SWRESULT Ping(SWPluginServerStruct* pThisServer); 00109 00118 SWRESULT CreateMenu(SWPluginServerStruct* pThisServer, 00119 ISWPluginMenu* pPluginMenu); 00121 #endif // _SWPLUGINDLL_H


Copyright (c) 2003-2004, Deep Fried Software. All rights reserved.